package dfbz.homework8;

public class Lecturer extends  Teacher{
    public Lecturer(int id, String name) {
        super(id, name);
    }

    @Override
    public void work() {
        System.out.println("工号为"+super.getId()+"的讲师"+super.getName()+"在讲课");
    }
}
